package com.aaa.service.front;

import com.aaa.entity.ShippingAddress;

import java.util.List;

public interface IFrontUserAddressService {
    //显示地址
    List<ShippingAddress> listByAddress1(Integer UserInfoId);
    //显示地址
    List<ShippingAddress> listByAddress(Integer UserInfoId);
    //根据用户id修改地址
    ShippingAddress findByShippingAddressId(Integer shippingAddressId);
    //修改地址
    int updateAddress(ShippingAddress shippingAddress);
    //添加地址
    int addAddress(ShippingAddress shippingAddress);
    //删除地址
    int deleteAddress(Integer shippingAddressId);
}
